package com.hymjweb.demo.hymj.native_bill_manage.pull_cost.bean;

import com.hymjweb.demo.framework.util.pojoContrast.FieldMeta;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

@Table(name = "b_native_bill_pull_cost")
@Data
public class BNativeBillPullCostPojo {

    @FieldMeta(columnname = "id", name = "分单拉货成本ID", comment = "分单拉货成本ID")
    private String id;

    @FieldMeta(columnname = "master_bill_id", name = "拉货主单ID", comment = "拉货主单ID,关联 b_master_bill_flight.id 或 b_master_bill_auto.id")
    private String masterBillId;

    @FieldMeta(columnname = "master_bill_type_id", name = "主单类型ID", comment = "主单类型ID,关联xt_dic.id key=XT_DIC_MASTER_BILL_TYPE")
    private Long masterBillTypeId;

    @FieldMeta(columnname = "native_bill_id", name = "分单ID", comment = "分单ID,关联 b_native_bill.id")
    private String nativeBillId;

    @FieldMeta(columnname = "native_pull_dispose_id", name = "分单拉货处置方式ID", comment = "分单拉货处置方式ID，关联 xt_dic.ic key = XT_DIC_NATIVE_PULL_DISPOSE")
    private Long nativePullDisposeId;

    @FieldMeta(columnname = "cost_share_standard", name = "全拉分摊成本金额", comment = "全拉分摊成本金额")
    private Integer costShareStandard;

    @FieldMeta(columnname = "cost_share_percent", name = "分摊百分比", comment = "分摊百分比")
    private Double costSharePercent;

    @FieldMeta(columnname = "cost_share_amount", name = "全拉成本分摊金额", comment = "全拉成本分摊金额")
    private Double costShareAmount;

    @FieldMeta(columnname = "create_time", name = "创建时间", comment = "创建时间")
    private Date createTime;

    @FieldMeta(columnname = "create_user_id", name = "创建用户ID", comment = "创建用户ID,关联 xt_user.id")
    private String createUserId;

    @FieldMeta(columnname = "update_time", name = "更新时间", comment = "更新时间")
    private Date updateTime;

    @FieldMeta(columnname = "update_user_id", name = "更新用户ID", comment = "更新用户ID,关联 xt_user.id")
    private String updateUserId;


}
